/* 
 * File:   View.h
 * Author: chb
 *
 * Created on 4. September 2009, 20:59
 */

#ifndef _VIEW_H
#define	_VIEW_H

#include <string>
#include <exception>
#include <SDL/SDL.h>
#include "Position.h"

using namespace std;

class View {
public:
	static View* instance();
	void drawGraphic(const Position*, string) throw (exception) ;
	virtual ~View();
private:
	void init();
	void uninit();
	static View* _instance;
	SDL_Surface* _screen;
	View();
};

#endif	/* _VIEW_H */

